﻿namespace JuCheap.Core.Infrastructure
{
    /// <summary>
    /// 分页查询条件基础类
    /// </summary>
    public class BaseCondition
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示的数据条数
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortField { get; set; }

        /// <summary>
        /// 排序方式
        /// </summary>
        public string SortType { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public string CompanyId { get; set; }

        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string Keywords { get; set; }
    }
}
